package com.gopay.common.domain.solution;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.*;
import java.util.Date;

/**
 *方案权限修改审核表
 * Created by Lenovo-songfengli on 2016/12/2.
 */
@Entity
@Table(name = "SS_TRANS_SOLUTION_AUDIT")
public class SsTransSolutionAudit extends BaseEntity {

    /** 主键 */
    @Id
    @SequenceGenerator(name = "SS_TRANS_SOLUTION_AUDIT_SEQ_GENERATOR", sequenceName = "SS_TRANS_SOLUTION_AUDIT_SEQ", allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SS_TRANS_SOLUTION_AUDIT_SEQ_GENERATOR")
    @Column(name = "ID")
    private Long id;
    /** 账号id */
    @Column(name="ACCT_ID")
    private String acctId;
    /** 国付宝内部交易码 */
    @Column(name="GOPAY_INT_TXN_CD")
    private String gopayIntTxnCd;
    /** 方案类型 */
    @Column(name="SOLUTION_TYPE")
    private String solutionType;
    /** 方案类型名称 */
    @Column(name="SOLUTION_TYPE_NAME")
    private String solutionTypeName;
    /** 支付方式 */
    @Column(name="PAY_CHANNEL")
    private String payChannel;
    /** 方案变更前 */
    @Column(name="SOLUTION_MODIFY_BEFORE_VIEW")
    private String solutionModifyBeforeView;
    /** 方案变更后 */
    @Column(name="SOLUTION_MODIFY_AFTER_VIEW")
    private String solutionModifyAfterView;
    /** 方案变更后 */
    @Column(name="SOLUTION_MODIFY_AFTER")
    private String solutionModifyAfter;
    /** 审核状态00–待审核01–通过02-拒绝 */
    @Column(name="AUDIT_STATE")
    private String auditState;
    /** 创建时间 */
    @Column(name="CREATED_TS")
    private Date createdTs;
    /** 操作员 */
    @Column(name="CREATED_OPER_ID")
    private String createdOperId;
    /** 审核时间 */
    @Column(name="AUDIT_TS")
    private Date auditTs;
    /** 审核操作员 */
    @Column(name="AUDIT_OPER_ID")
    private String auditOperId;
    /** 审核原因 */
    @Column(name="AUDIT_REASON")
    private String auditReason;
    /** 乐观锁版本号 */
    @Version
    @Column(name = "VERSION")
    private Integer version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAcctId() {
        return acctId;
    }

    public void setAcctId(String acctId) {
        this.acctId = acctId;
    }

    public String getGopayIntTxnCd() {
        return gopayIntTxnCd;
    }

    public void setGopayIntTxnCd(String gopayIntTxnCd) {
        this.gopayIntTxnCd = gopayIntTxnCd;
    }

    public String getSolutionType() {
        return solutionType;
    }

    public void setSolutionType(String solutionType) {
        this.solutionType = solutionType;
    }

    public String getSolutionTypeName() {
        return solutionTypeName;
    }

    public void setSolutionTypeName(String solutionTypeName) {
        this.solutionTypeName = solutionTypeName;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public String getSolutionModifyBeforeView() {
        return solutionModifyBeforeView;
    }

    public void setSolutionModifyBeforeView(String solutionModifyBeforeView) {
        this.solutionModifyBeforeView = solutionModifyBeforeView;
    }

    public String getSolutionModifyAfterView() {
        return solutionModifyAfterView;
    }

    public void setSolutionModifyAfterView(String solutionModifyAfterView) {
        this.solutionModifyAfterView = solutionModifyAfterView;
    }

    public String getSolutionModifyAfter() {
        return solutionModifyAfter;
    }

    public void setSolutionModifyAfter(String solutionModifyAfter) {
        this.solutionModifyAfter = solutionModifyAfter;
    }

    public String getAuditState() {
        return auditState;
    }

    public void setAuditState(String auditState) {
        this.auditState = auditState;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public String getCreatedOperId() {
        return createdOperId;
    }

    public void setCreatedOperId(String createdOperId) {
        this.createdOperId = createdOperId;
    }

    public Date getAuditTs() {
        return auditTs;
    }

    public void setAuditTs(Date auditTs) {
        this.auditTs = auditTs;
    }

    public String getAuditOperId() {
        return auditOperId;
    }

    public void setAuditOperId(String auditOperId) {
        this.auditOperId = auditOperId;
    }

    public String getAuditReason() {
        return auditReason;
    }

    public void setAuditReason(String auditReason) {
        this.auditReason = auditReason;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

}
